Added more tests for functional interface
Added tests
Added tests