added tests for autocomplete and added database cleaner
added correct specs for autocomplete