#31 Added backend tests and fixed some bugs related to buying bitcoin

Please review. I also added lombok to the project to reduce the amount of boilerplate code