Add tests for the fragments

+tests for adapters?