added new test; added notice to functions that have bugs