wrote the test for 500 and 1000 and made it pass