Basic test

wrote some basic tests