Design, fabrication, characterization and testing of optoelectronic devices