Can this is seperated into another test case, would be much cleaner that way.