refactored test files
updated grunt dependencies to better support upcoming 0.4.0 release
extracting common test helpers to shared file