Added main role tests, still need some drying up, but should test the essential features and work