fixed the error with the test, works now
still need to do other stuff