adding main to seperate tests from class (more modular)