fixed errors in build, added test skeleton