changes to test class functions along with class function functionality