added more tests, made style public