Updated searchByMajor function to function async-ly
Updated tests for searchByMajor function to close #7