Created Class and Test Code