Minor change in sound engine and added test

Patched to prevent multiple loadings of sound resources. Added testing of the sound manager functionalities. AP-195