Added unit test for buck