Added Long, Double and Boolean as usable types + unit test