added basic tests, and example of dynamically linking a style