Added some repository tests