refactored some AudioContext tests, added Q.promise library for further use