Added more tests
Added purchase modal