Add some test stuff

Add onAction.java and TimeCommand.java