specs for unit test