Testing play framework in java and scala