fixed some styles issues and a test