tests for pieces route. also indentation