Added Main class tests and replaced constants.