Added test checkstyle support

Ready for review