added a test file
added working tests