Add sbt support + unit tests
added test case #1 and failing test case