added a basic test

Added a basic test + testing environment so automated testing can be implemented.