completed wrapper for testing and moved test material to 'tests'