added style
added a few tests