Added unit test to make builds on ci pass