added tests - minor coverage still needs work