Added tests for dashboard and search methods. Not quite good but it's something.
Removed useless test.