Add default target ‘test’
remove unnecessary braces
Switch to Java7 NIO for file reading