Adding tests for plain output hanlder and html output handler