organised tests and examples
corrected formatting
adjusted lvalue rule