updated test files
it has been a long time since I updated these tests. they are in line now with the current codebase, but there are a lot of tests need to be implemented to make this aspect of the codebase stronger.