Minor dashboard UI tweak. Added unit test for InvoiceTemplateRepositoryTest