added Q to dependencies
fixed typo in test: count vs count()
changed without callback tests to support promises