JUnit Tests

Added failed junit testing.  Will be implemented later.