new tests for added functions and correctiions to prev work