ticket:6 update
ticket:6 add test to wrong input
ticket:6 temp fix
ticket:6 fixed test and ref view