Splitted main test and verified all tests so far