Bill class and test